<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>scale的效果</title>
    <style>
        div {
            width: 225px;
            height: 137px;
            overflow: hidden;
            margin: 10px;
            float: left;
        }
        
        div a img {
            width: 225px;
            height: 137px;
            transition: all 0.4s;
        }
        
        div img:hover {
            transform: scale(1.1);
        }
    </style>
</head>

<body>
    <div>
        <a href="#"><img src="./scale.jpg" alt="" /></a>
    </div>
</body>

</html>